<?php


define('EBY_IN',TRUE);  
define("EBY_ROOT",str_replace("\\","/",dirname(__FILE__))."/");
require_once (EBY_ROOT.'control/init.php');
if (checkWeboff($str_error)){
	exit($str_error);
}
$APP = new showpage();
$strUrl=$_SERVER['REQUEST_URI'];
if (stristr($strUrl,'?')){
	$strPage=substr($strUrl,strpos($strUrl,'?')+1,strlen($strUrl));
	$do=explode('-',$strPage);
	$dos = array(
		'index', 'cls', 'play', 
		'hist', 'share', 'down',
		'spllist','splmenu','so',
		'singer_musiclist','news',
		'reg','ajax','singerlist',
		'user','plays','userlist',
		'login','doajax','otherapp','makehtml',
		);
	if (in_array($do[1], $dos)){ 
		 $APP->$do[1]();
	} else {
		 $APP->Index();
	}
} else{
	$APP->Index();
}



?>